body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.paddingContent {
  height: 100%;
  background: #fff;
  overflow-x: auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent
}

::-webkit-scrollbar-thumb {
  background: rgba(44, 57, 77, 0.7);
  opacity: 0.7;
  border-radius: 3px;
  border: unset;
}

.font-size(@value: 12) {
  font-size: 12px;
  transform: scale((@value/12));
}

.font-size-zoom(@value: 12) {
  font-size: 12px;
  zoom: (@value/12);
}

.font-bold() {
  font-weight: 600;
}

.editor-description {


  padding: unset;

  p {
    margin-bottom: 0;
  }

  ul {
    padding-left: 40px;
    list-style-type: disc;

    li {
      list-style-type: inherit;
    }
  }

  ol {
    padding-left: 40px;
    list-style-type: decimal;

    li {
      list-style-type: inherit;
    }
  }
}

.form_error {
  border-color: #ff4d4f !important;

  .ant-input {
    border-color: #ff4d4f !important;
  }

  .ant-select:not(.ant-select-customize-input) .ant-select-selector,
  .ant-select-selector {
    border-color: #ff4d4f !important;
  }

  .tox-tinymce {
    border-color: #ff4d4f !important;
  }
}

.echarts_tooltip {
  height: auto;
  max-height: 400px;
  overflow-y: auto;
  margin-right: -8px;

  // background: #fff;
  * {
    font-size: 12px;
  }

  p {
    margin: 0;
    // line-height: 28px;
    margin-top: 6px;
  }

  .value {
    font-weight: bold;
    // font-family: PingFangSC-Semibold;

  }

  >div {
    padding-right: 8px;
    display: flex;
    justify-content: space-between;

    &:nth-last-child(1) {
      margin-bottom: 6px;
    }

    >P {
      &:nth-child(1) {
        max-width: 160px;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  &::-webkit-scrollbar-thumb {
    background: #575968;
    // background: #fff;
    opacity: 1;
  }
}

.scroll-hidden {
  overflow-y: overlay;

  // width: 100% !important; // fix: 弹窗出现后位移问题
  // background: red;
  &::-webkit-scrollbar-thumb {
    background: transparent;
    border: unset;
  }
}

.hidden-table-scroll {
  .ant-table-body {
    overflow-y: overlay !important;

    &::-webkit-scrollbar-thumb {
      background: transparent;
      border: unset;
    }
  }
}

.ant-message * {
  .ant-message-custom-content>span:not(.anticon) {
    color: #35425E;
  }
}

.ellipsis{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}